package com.slipper.system.codeless.bo;

import java.util.ArrayList;
import java.util.List;

import com.slipper.common.bo.CommonBO;

/**
 * 数据表格信息表
 */
public class DataTableBO extends CommonBO {
    /* 主键ID */
    private String id;
    /* 主键ID */
    private String[] ids;
    /* 模型ID */
    private String modelId;
    private String[] modelIds;
    /* 名称 */
    private String name;
    /* 显示表头 */
    private String showHeader;
    /* 显示表头调整 */
    private String showHeaderSetting;
    /* 显示全屏按钮 */
    private String showFull;
    /* 显示复选框 */
    private String showCheckbox;
    /* 显示序号 */
    private String showOrdinal;
    /* 显示操作列 */
    private String showOperate;
    /* 显示页码栏 */
    private String showPagination;
    /* 显示边框 */
    private String showBorder;
    /* 合计栏设置 */
    private String totalJson;
    /* 默认分页大小 */
    private Integer defaultPageSize;
    /* 提示信息位置： top：顶部 bottom：底部 */
    private String tipsPosition;
    /* 提示信息来源： 1、输入 2、脚本 */
    private String tipsOrigin;
    /* 提示来源内容 */
    private String tipsHtml;
    /* 提示来源脚本ID */
    private String tipsScriptId;
    /* 默认表格 */
    private String defaultTable;
    /* 更新人ID */
    private String updateId;
    /* 更新时间 */
    private Long updateTime;
    /* 创建人ID */
    private String createId;
    /* 创建时间 */
    private Long createTime;

    private List<PrivilegeBO> privilegeList = new ArrayList<>(); // 权限条件
    private List<DataTableOrdinalBO> ordinalList = new ArrayList<>();
    private List<DataTableFieldBO> fieldList = new ArrayList<>();

    public void setId(String id) {
        this.id = id;
    }
    
    public String getId() {
        return id;
    }

    public void setIds(String[] ids) {
        this.ids = ids;
    }
    
    public String[] getIds() {
        return ids;
    }

    public void setModelId(String modelId) {
        this.modelId = modelId;
    }
    
    public String getModelId() {
        return modelId;
    }

    public String[] getModelIds() {
        return modelIds;
    }

    public void setModelIds(String[] modelIds) {
        this.modelIds = modelIds;
    }

    public void setName(String name) {
        this.name = name;
    }
    
    public String getName() {
        return name;
    }

    public void setShowHeader(String showHeader) {
        this.showHeader = showHeader;
    }
    
    public String getShowHeader() {
        return showHeader;
    }

    public void setShowHeaderSetting(String showHeaderSetting) {
        this.showHeaderSetting = showHeaderSetting;
    }
    
    public String getShowHeaderSetting() {
        return showHeaderSetting;
    }

    public void setShowFull(String showFull) {
        this.showFull = showFull;
    }
    
    public String getShowFull() {
        return showFull;
    }

    public void setShowCheckbox(String showCheckbox) {
        this.showCheckbox = showCheckbox;
    }
    
    public String getShowCheckbox() {
        return showCheckbox;
    }

    public String getShowOrdinal() {
        return showOrdinal;
    }

    public void setShowOrdinal(String showOrdinal) {
        this.showOrdinal = showOrdinal;
    }

    public void setShowOperate(String showOperate) {
        this.showOperate = showOperate;
    }
    
    public String getShowOperate() {
        return showOperate;
    }

    public void setShowPagination(String showPagination) {
        this.showPagination = showPagination;
    }
    
    public String getShowPagination() {
        return showPagination;
    }

    public void setShowBorder(String showBorder) {
        this.showBorder = showBorder;
    }
    
    public String getShowBorder() {
        return showBorder;
    }

    public void setTotalJson(String totalJson) {
        this.totalJson = totalJson;
    }
    
    public String getTotalJson() {
        return totalJson;
    }

    public void setDefaultPageSize(Integer defaultPageSize) {
        this.defaultPageSize = defaultPageSize;
    }
    
    public Integer getDefaultPageSize() {
        return defaultPageSize;
    }

    public void setTipsPosition(String tipsPosition) {
        this.tipsPosition = tipsPosition;
    }
    
    public String getTipsPosition() {
        return tipsPosition;
    }

    public void setTipsOrigin(String tipsOrigin) {
        this.tipsOrigin = tipsOrigin;
    }
    
    public String getTipsOrigin() {
        return tipsOrigin;
    }

    public void setTipsHtml(String tipsHtml) {
        this.tipsHtml = tipsHtml;
    }
    
    public String getTipsHtml() {
        return tipsHtml;
    }

    public void setTipsScriptId(String tipsScriptId) {
        this.tipsScriptId = tipsScriptId;
    }
    
    public String getTipsScriptId() {
        return tipsScriptId;
    }

    public String getDefaultTable() {
        return defaultTable;
    }

    public void setDefaultTable(String defaultTable) {
        this.defaultTable = defaultTable;
    }

    public void setUpdateId(String updateId) {
        this.updateId = updateId;
    }
    
    public String getUpdateId() {
        return updateId;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }
    
    public Long getUpdateTime() {
        return updateTime;
    }

    public void setCreateId(String createId) {
        this.createId = createId;
    }
    
    public String getCreateId() {
        return createId;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }
    
    public Long getCreateTime() {
        return createTime;
    }

    public List<PrivilegeBO> getPrivilegeList() {
        return privilegeList;
    }

    public void setPrivilegeList(List<PrivilegeBO> privilegeList) {
        this.privilegeList = privilegeList;
    }

    public List<DataTableOrdinalBO> getOrdinalList() {
        return ordinalList;
    }

    public void setOrdinalList(List<DataTableOrdinalBO> ordinalList) {
        this.ordinalList = ordinalList;
    }

    public List<DataTableFieldBO> getFieldList() {
        return fieldList;
    }

    public void setFieldList(List<DataTableFieldBO> fieldList) {
        this.fieldList = fieldList;
    }
}
